<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<jsp:include page="head.html"/>
</head>
<body>
	<div id="head"><h1>KRS</h1></div>
	<jsp:include page="menu.jsp"/>
	<div id="content">
		<h2><c:out value="${title}"/></h2>
		<p><c:out value="${message}"/></p>
						
		<table class="listing">
			<tbody>
				<tr>
					<th>ResNr</th>
					<th>Datum, Uhrzeit</th>
					<th>Res. Plätze Loge</th>
					<th>Res. Plätze Regulär</th>
					<th>Event</th>
					<th>Kunde</th>
					<th>Storno</th>
				</tr>
				<c:forEach items="${reservierungen}" var="reservierung">
				<tr>
						<td><c:out value="${reservierung.id}"/></td>
						<td><c:out value="${reservierung.datum}"/></td>
						<td><c:out value="${reservierung.res_plaetze_loge}"/></td>		
						<td><c:out value="${reservierung.res_plaetze_reg}"/></td>		
						<td><c:out value="${reservierung.event_name}"/></td>		
						<td><c:out value="${reservierung.kunde}"/></td>	
						<td align="center">
							<a href="LoescheRes.s?id=<c:out value="${reservierung.id}"/>">
								<img src="../images/button_drop.png" alt="Stornieren"/>
							</a>
						</td>					
				</tr>
				</c:forEach>  
			</tbody>
		</table>
	</div>
</body>
</html>  